package com.hengxinguotong.hxgtwygsp.ui.base;

import android.support.v7.widget.RecyclerView;
import android.view.View;

import butterknife.ButterKnife;

/**
 * TODO
 *
 * @author hjz
 * @version V1.0.0
 * @since 2018/8/7 10:19
 */

public abstract class BaseViewHolder<T> extends RecyclerView.ViewHolder
{
    protected View itemView;

    public BaseViewHolder(View itemView)
    {
        super(itemView);
        this.itemView = itemView;
        ButterKnife.bind(this, itemView);
    }

    public abstract void bindData(T t);
}
